

#ifndef _MAINWINDOW_H
#define	_MAINWINDOW_H

#include <QtGui>
#include "Controller.h"

class Model : public QFrame {
    Q_OBJECT
    
public:
    Model(QWidget * parent = 0);
    
    Controller* getController() { return controller; }

    QSize sizeHint() const;
    
protected:
    void mousePressEvent(QMouseEvent* event);
    
private:
    Controller * controller;
};

#endif	/* _MAINWINDOW_H */